Add dedicated metadata for adding -l/-L flags
authorCorey Richardson <corey@octayn.net>
Tue, 10 Mar 2015 17:12:47 +0000 (13:12 -0400)
committerCorey Richardson <corey@octayn.net>
Sat, 14 Mar 2015 11:23:13 +0000 (07:23 -0400)
commitd9190d9862f5fd8addaea6dc39a80c85e45dee38
tree2585da3ec10899d093e293945636463b9dfa5a03
parent07cd6180f1d663f144b268436feddd98d0f1da91
Add dedicated metadata for adding -l/-L flags

Deprecates the rustc-args metadata keyword in favor of rustc-link-lib and
rustc-link-search, which are more precise and allows for easy, correct
handling of spaces in pathnames.

Closes #1015
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc/custom_build.rs
src/cargo/util/config.rs
src/doc/build-script.md
tests/test_cargo_compile_custom_build.rs